package com.njust.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.njust.domain.po.EquipmentProcurement;
import com.njust.domain.po.EquipmentProcurementPage;

import java.util.List;


/**
 * @Author: Grtiop
 * @Description: 设备采购的持久层
 * @DateTime: 2024/11/15 下午7:34
 **/
public interface EquipmentProcurementMapper extends BaseMapper<EquipmentProcurement> {
    /**
    * @Description  查询所有采购申请
    * @param
    * @return com.njust.domain.po.EquipmentProcurementPageQueryVO
    * @Author Grtiop
    * @Date 2024/11/16
    */

    Page<EquipmentProcurementPage> findAll();

    /**
    * @Description  查询项目采购申请
    * @param project_id
    * @return java.util.List<com.njust.domain.po.EquipmentProcurementPage>
    * @Author Grtiop
    * @Date 2024/11/16
    */

    List<EquipmentProcurementPage> findByProjectId(int project_id);
}
